package com.system.model;

import java.io.Serializable;

public class BuyProduct implements Serializable {
    private Integer buyProductId;

    private Integer buyId;

    private Integer productId;

    private static final long serialVersionUID = 1L;

    public Integer getBuyProductId() {
        return buyProductId;
    }

    public void setBuyProductId(Integer buyProductId) {
        this.buyProductId = buyProductId;
    }

    public Integer getBuyId() {
        return buyId;
    }

    public void setBuyId(Integer buyId) {
        this.buyId = buyId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", buyProductId=").append(buyProductId);
        sb.append(", buyId=").append(buyId);
        sb.append(", productId=").append(productId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}